# -*- coding: utf-8 -*-#
#-------------------------------------------------------------------------------
# 建立者:        潘炎珍  
# Name:         demo07
# Description:
# Author:       98745
# Date:         2019/3/17
#-------------------------------------------------------------------------------

from bs4 import *
from urllib3 import *
disable_warnings()
http=PoolManager()
r=http.request('GET','https://www.jd.com')
soup=BeautifulSoup(r.data,'lxml')
print(soup.mata)
print(soup.meta['charset'])
print(soup.title.text)
print(soup.body['class'])